projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46ce97
)
notebook: remove check for is_drawable
author
Benjamin Otte
<otte@redhat.com>
Mon, 6 Sep 2010 21:20:03 +0000
(23:20 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:37 +0000
(15:11 +0200)
When we reach that code, the widget will always be drawable
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 9b4ad40504881d364bec41d055452d2b608d549a..1198520fad2015a7dd0faba0503173ac1e3eb24e 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-4752,9
+4752,6
@@
gtk_notebook_paint (GtkWidget *widget,
gboolean is_rtl;
gint tab_pos;
- if (!gtk_widget_is_drawable (widget))
- return;
-
notebook = GTK_NOTEBOOK (widget);
priv = notebook->priv;
is_rtl = gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;